//
//  CustomerPickerView.h
//  PickerDemo
//
//  Created by Cluy on 16/12/19.
//  Copyright © 2016年 Cluy. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef void (^SelectAction)(NSArray *selectItems);

typedef void (^CancelAction)(void);
@interface CustomerPickerView : UIView<UIPickerViewDataSource,UIPickerViewDelegate>{
    UIToolbar *_actionToolbar;
}
@property (nonatomic, strong)NSMutableArray *selectedTitles;
@property (nonatomic, strong)NSArray *itemList;
@property (nonatomic, strong)NSString *titleKey;
@property (nonatomic) BOOL showBackImg;
@property (nonatomic, strong) UIPickerView *customerPicker;
@property (nonatomic, strong) SelectAction didSelectAction;
@property (nonatomic, strong) CancelAction didCancelAction;


- (instancetype)initWithColumn:(NSArray*)itemList titleKey:(NSString *)key;
@end
